Optimal. Leaf size=77 \[ -\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {d \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {d \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {1653, 12, 807,
223, 209} \begin {gather*} -\frac {d \text {ArcTan}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^3}-\frac {d \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {\sqrt {d^2-e^2 x^2}}{e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 209
Rule 223
Rule 807
Rule 1653
Rubi steps
\begin {align*} \int \frac {x^2}{(d+e x) \sqrt {d^2-e^2 x^2}} \, dx &=-\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {\int \frac {d e^3 x}{(d+e x) \sqrt {d^2-e^2 x^2}} \, dx}{e^4}\\ &=-\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {d \int \frac {x}{(d+e x) \sqrt {d^2-e^2 x^2}} \, dx}{e}\\ &=-\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {d \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {d \int \frac {1}{\sqrt {d^2-e^2 x^2}} \, dx}{e^2}\\ &=-\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {d \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {d \text {Subst}\left (\int \frac {1}{1+e^2 x^2} \, dx,x,\frac {x}{\sqrt {d^2-e^2 x^2}}\right )}{e^2}\\ &=-\frac {\sqrt {d^2-e^2 x^2}}{e^3}-\frac {d \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {d \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 78, normalized size = 1.01 \begin {gather*} \frac {(-2 d-e x) \sqrt {d^2-e^2 x^2}}{e^3 (d+e x)}-\frac {d \log \left (-\sqrt {-e^2} x+\sqrt {d^2-e^2 x^2}\right )}{\left (-e^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 97, normalized size = 1.26
method | result | size |
default | \(-\frac {\sqrt {-e^{2} x^{2}+d^{2}}}{e^{3}}-\frac {d \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{e^{2} \sqrt {e^{2}}}-\frac {d \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{e^{4} \left (x +\frac {d}{e}\right )}\) | \(97\) |
risch | \(-\frac {\sqrt {-e^{2} x^{2}+d^{2}}}{e^{3}}-\frac {d \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{e^{2} \sqrt {e^{2}}}-\frac {d \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{e^{4} \left (x +\frac {d}{e}\right )}\) | \(97\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 58, normalized size = 0.75 \begin {gather*} -d \arcsin \left (\frac {x e}{d}\right ) e^{\left (-3\right )} - \sqrt {-x^{2} e^{2} + d^{2}} e^{\left (-3\right )} - \frac {\sqrt {-x^{2} e^{2} + d^{2}} d}{x e^{4} + d e^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.40, size = 83, normalized size = 1.08 \begin {gather*} -\frac {2 \, d x e + 2 \, d^{2} - 2 \, {\left (d x e + d^{2}\right )} \arctan \left (-\frac {{\left (d - \sqrt {-x^{2} e^{2} + d^{2}}\right )} e^{\left (-1\right )}}{x}\right ) + \sqrt {-x^{2} e^{2} + d^{2}} {\left (x e + 2 \, d\right )}}{x e^{4} + d e^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\sqrt {- \left (- d + e x\right ) \left (d + e x\right )} \left (d + e x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.17, size = 69, normalized size = 0.90 \begin {gather*} -d \arcsin \left (\frac {x e}{d}\right ) e^{\left (-3\right )} \mathrm {sgn}\left (d\right ) - \sqrt {-x^{2} e^{2} + d^{2}} e^{\left (-3\right )} + \frac {2 \, d e^{\left (-3\right )}}{\frac {{\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )} e^{\left (-2\right )}}{x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{\sqrt {d^2-e^2\,x^2}\,\left (d+e\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________